import 'babel-polyfill'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/common.less'
import './assets/iconfont.css'
import './assets/global.css'
import './permission'
import '/public/static/css/sizeSet.css'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import quillEditor from 'vue-quill-editor' //调用编辑器
Vue.use(quillEditor)
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import * as echarts from 'echarts'
import {
  getCookie,
  setCookie
} from '@/assets/cookie' // 公共方法相关
import global_ from './libs/tools.js'
Vue.prototype.GLOBAL = global_
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$cookieStore = {
  getCookie,
  setCookie
}
Vue.prototype.$echarts = echarts
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
